package com.steak.spring.value;

import lombok.Getter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 刘牌
 * @Title:
 * @date 2022-03-2918:20
 */
@Component
@Getter
@ToString
public class Girl {
    @Value("${girl.username}")
    private String username;
    @Value("${girl.height}")
    private Float height;
    @Value("${girl.weight}")
    private Float weight;
    @Value("${girl.age}")
    private Integer age;
}
